home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
trueSpace 7.6
/
tS761B8Std.exe
/
{app}
/
Scripts
/
MaterialEditor
/
Bricks
/
Functions
/
acos.HLSL.Brick.xml
next >
Wrap
Extensible Markup Language
|
2008-06-10
|
1KB
|
27 lines
<?xml version="1.0" encoding="utf-8" ?>
<ME_BRICK GUID="{382C438F-A20D-4FC4-AAAA-A9C8BAC174E1}" Name="RtAcos" GUIName="Arccosine" Description="Compute per component arccosine [acos]">
<ME_BRICK_INPUTPARAM GUID="{5CAC5708-F275-49BF-86AA-900A4FCC5C6D}" Name="Input" Type="RtNumeric"/>
<ME_BRICK_OUTPUTPARAM GUID="{0D45BDC6-13CD-428D-B47D-3A2405A35D46}" Name="Result" Type="RtNumeric"/>
<ME_BRICK_CODE><![CDATA[
void RtAcos(in RtFloat Input, out RtFloat Result) {
Result = rtx_Acos(Input);
}
void RtAcos(in RtFloat3 Input, out RtFloat3 Result) {
Result = rtx_Acos(Input);
}
void RtAcos(in RtFloat4 Input, out RtFloat4 Result) {
Result = rtx_Acos(Input);
}
void RtAcos(in RtFloat3x3 Input, out RtFloat3x3 Result) {
Result = rtx_Acos(Input);
}
void RtAcos(in RtFloat4x4 Input, out RtFloat4x4 Result) {
Result = rtx_Acos(Input);
}
]]></ME_BRICK_CODE>
</ME_BRICK>